package com.luojiaoj.location

/**
 * Created with IntelliJ IDEA.
 * User: acer
 * Date: 13-1-24
 * Time: 上午10:52
 * To change this template use File | Settings | File Templates.
 */
class Province {
    String name

    Set<City> cities = new HashSet<City>()

    static hasMany = [cities: City]

    static constraints = {
        name unique: true, size: 0..16
    }
}
